<?php $this->pageTitle = '添加用户'; ?>
<!-- h2 stays for breadcrumbs -->
<h2><a href="#">后台管理</a> &raquo; <a href="#" class="active"><?php __('添加用户');?></a></h2>
<div id="main">
<div class="users form">
<?php echo $form->create('User');?>
	<fieldset>
 		<legend><?php __('添加用户');?></legend>
	<?php
		echo $form->input('username', array( 'label' => '用户名'));
		echo $form->input('password', array( 'label' => '密码'));
		echo $form->input('group_id', array( 'label' => '组'));
	?>
	</fieldset>
<?php echo $form->end('添加');?>
</div>
<div class="actions">
	<ul>
		<li>
		<?php echo $html->link(__('用户列表', true), array('action' => 'index'));?>
		<?php echo $html->link(__('权限管理', true), array('controller' => 'groups', 'action' => 'index')); ?> 
		<?php echo $html->link(__('新建组', true), array('controller' => 'groups', 'action' => 'add')); ?> 		
		</li>
	</ul>
</div>
</div>
                <!-- // #main -->